/*******************************************************************************
 * Created on 29.03.2012
 *
 * Copyright(c) 1995 - 2011 T-Systems Multimedia Solutions GmbH
 * Riesaer Str. 5, 01129 Dresden
 * All rights reserved.
 *******************************************************************************/
package ua.rudolf.calculator.beans.impl;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

import ua.rudolf.calculator.beans.interfaces.Person;

/**
 * // TODO Comment me!
 * 
 * @author arudenko
 */
@Entity
public class PersonImpl implements Person {

    @Id
    @GeneratedValue
    private Integer id;

    private String title;

    public PersonImpl() {}

    /**
     * @param id
     *            the id to set
     */
    public void setId(final Integer id) {
        this.id = id;
    }

    /**
     * @return the id
     */
    public Integer getId() {
        return id;
    }

    /**
     * {@inheritDoc}
     */
    public String getTitle() {
        return title;
    }

    /**
     * {@inheritDoc}
     */
    public void setTitle(final String title) {
        this.title = title;
    }

}
